Optimal. Leaf size=126 \[ \frac{11 \sqrt [6]{2} \cos (e+f x) \, _2F_1\left (\frac{1}{2},\frac{5}{6};\frac{3}{2};\frac{1}{2} (1-\sin (e+f x))\right )}{15 f \sqrt [6]{\sin (e+f x)+1} \sqrt [3]{a \sin (e+f x)+a}}+\frac{4 \sec (e+f x) (a \sin (e+f x)+a)^{2/3}}{5 a f}-\frac{3 \sec (e+f x)}{5 f \sqrt [3]{a \sin (e+f x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.216494, antiderivative size = 126, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.174, Rules used = {2712, 2855, 2652, 2651} \[ \frac{11 \sqrt [6]{2} \cos (e+f x) \, _2F_1\left (\frac{1}{2},\frac{5}{6};\frac{3}{2};\frac{1}{2} (1-\sin (e+f x))\right )}{15 f \sqrt [6]{\sin (e+f x)+1} \sqrt [3]{a \sin (e+f x)+a}}+\frac{4 \sec (e+f x) (a \sin (e+f x)+a)^{2/3}}{5 a f}-\frac{3 \sec (e+f x)}{5 f \sqrt [3]{a \sin (e+f x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2712
Rule 2855
Rule 2652
Rule 2651
Rubi steps
\begin{align*} \int \frac{\tan ^2(e+f x)}{\sqrt [3]{a+a \sin (e+f x)}} \, dx &=-\frac{3 \sec (e+f x)}{5 f \sqrt [3]{a+a \sin (e+f x)}}+\frac{3 \int \sec ^2(e+f x) (a+a \sin (e+f x))^{2/3} \left (-\frac{a}{3}+\frac{5}{3} a \sin (e+f x)\right ) \, dx}{5 a^2}\\ &=-\frac{3 \sec (e+f x)}{5 f \sqrt [3]{a+a \sin (e+f x)}}+\frac{4 \sec (e+f x) (a+a \sin (e+f x))^{2/3}}{5 a f}-\frac{11}{15} \int \frac{1}{\sqrt [3]{a+a \sin (e+f x)}} \, dx\\ &=-\frac{3 \sec (e+f x)}{5 f \sqrt [3]{a+a \sin (e+f x)}}+\frac{4 \sec (e+f x) (a+a \sin (e+f x))^{2/3}}{5 a f}-\frac{\left (11 \sqrt [3]{1+\sin (e+f x)}\right ) \int \frac{1}{\sqrt [3]{1+\sin (e+f x)}} \, dx}{15 \sqrt [3]{a+a \sin (e+f x)}}\\ &=-\frac{3 \sec (e+f x)}{5 f \sqrt [3]{a+a \sin (e+f x)}}+\frac{11 \sqrt [6]{2} \cos (e+f x) \, _2F_1\left (\frac{1}{2},\frac{5}{6};\frac{3}{2};\frac{1}{2} (1-\sin (e+f x))\right )}{15 f \sqrt [6]{1+\sin (e+f x)} \sqrt [3]{a+a \sin (e+f x)}}+\frac{4 \sec (e+f x) (a+a \sin (e+f x))^{2/3}}{5 a f}\\ \end{align*}
Mathematica [A] time = 0.513245, size = 100, normalized size = 0.79 \[ \frac{\sqrt{2-2 \sin (e+f x)} (4 \tan (e+f x)+\sec (e+f x))-22 \cos (e+f x) \, _2F_1\left (\frac{1}{6},\frac{1}{2};\frac{7}{6};\sin ^2\left (\frac{1}{4} (2 e+2 f x+\pi )\right )\right )}{5 f \sqrt{2-2 \sin (e+f x)} \sqrt [3]{a (\sin (e+f x)+1)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.105, size = 0, normalized size = 0. \begin{align*} \int{ \left ( \tan \left ( fx+e \right ) \right ) ^{2}{\frac{1}{\sqrt [3]{a+a\sin \left ( fx+e \right ) }}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tan \left (f x + e\right )^{2}}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{1}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\tan \left (f x + e\right )^{2}}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{1}{3}}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tan ^{2}{\left (e + f x \right )}}{\sqrt [3]{a \left (\sin{\left (e + f x \right )} + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tan \left (f x + e\right )^{2}}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{1}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]